package com.domain.service;

import com.alipay.api.AlipayApiException;
import com.aliyuncs.exceptions.ClientException;
import com.domain.common.Result;

public interface PublishService {
    //发布求助
    Result savePublish(String userId, String typeId, String publishTitle, String publishContent, String filterUserId, String longitude, String latitude, String itIsPaid, String cityName, String images, String money) throws ClientException;

    Result getUsersPublish(String userId, String pageNum, String pageSize);

    Result getUserPublishDetail(String userId, String publishId, String helpUsersId, String connectionUserId);

    Result completePublish(String userId, String publishId, String groupId);

    Result helpRedPacakgePay(String userId, String total_amount) throws AlipayApiException;

    Result helpRedPacakgeSupplement(String userId, String money, String publishId) throws AlipayApiException;

    Result judgeCompletePublish(String userId, String publishId);

    Result deletePublish(String userId, String publishId);

    Result getFriendsLists(String usersId, String phoneNum, String name, String pageNum, String pageSize);


    Result payReturn(String userId, String returnMoney) throws AlipayApiException;

    Result getGroupIid(String publishId, String usersId);

    Result acknowledge(String userId, String total_amount, String acUsersId) throws AlipayApiException;

    Result addPublishWelfare(String strJson);

    Result getUserPublishDetailG(String userId, String publishId);
}
